package edu.hebeu.network;

public class APIConfig {

    public static final String BASE_URL = "http://150.158.212.186:3101/"; // 基路径

    private APIConfig(){}

    public static class URL {
        public static final String LOGIN_URL = "login"; // 登录的接口地址
        public static final String REGISTER_URL = "register"; // 注册的接口地址
        public static final String INDEX_URL = "index"; // 首页信息的接口地址

        public static final String SEARCH_USER_URL = "mix/search-user"; // 查询是否存在某个用户的接口地址
        public static final String LIST_GOODS_URL = "mix/list-goods"; // 查询商品信息的接口地址
        public static final String UPDATE_GOOD = "mix/update-goods"; // 修改商品信息的接口地址
        public static final String LIST_ORDER_URL = "mix/list-order"; // 获取订单信息的接口地址
        public static final String ORDER_DETAIL_URL = "mix/list-order_list"; // 获取订单明细的接口地址

        public static final String PERFECT_INFO_USER = "user/perfect"; // 完善用户信息的接口地址
        public static final String CREATE_ORDER = "user/add-order"; // 创建订单的接口地址
        public static final String CREATE_ORDER_LIST = "user/add-order_list"; // 创建订单明细的接口地址
    }

}
